//********************************************************************************************************
// Product Name: MapWindow.dll Alpha
// Description:  Low level interfaces that allow separate components to use objects that are defined
//               in completely independant libraries so long as they satisfy the basic interface requirements.
//********************************************************************************************************
// The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); 
// you may not use this file except in compliance with the License. You may obtain a copy of the License at 
// http://www.mozilla.org/MPL/ 
//
// Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF 
// ANY KIND, either express or implied. See the License for the specificlanguage governing rights and 
// limitations under the License. 
//
// The Original Code is MapWindow.Interfaces
//
// The Initial Developer of this Original Code is Ted Dunsford. Created in October, 2007.
// 
// Contributor(s): (Open source contributors should list themselves and their modifications here). 
//
//********************************************************************************************************
using System;
using System.Collections.Generic;
using System.Text;
using MapWindow.Data;
using System.Drawing;
using MapWindow.Main.EventArguments;
using MapWindow.Geometries;

namespace MapWindow.Drawing
{
    /// <summary>
    /// An interface for Polygon features with drawing characteristics
    /// </summary>
    public interface IMapPolygon: IFeature, IPolygonSymbolizer, IBasicPolygon
    {
        /// <summary>
        /// This specifies the specific polygon symbols to use for this polygon  
        /// </summary>
        IPolygonSymbolizer PolygonSymbolizer
        {
            get;
            set;
        }

         /// <summary>
        /// Gets an integer count representing the number of parts in this feature.
        /// </summary>
        int NumParts
        {
            get;
        }

        /// <summary>
        /// Gets or sets the list of BasicLineString parts that make up the
        /// entire set of linestrings to draw with this feature.
        /// </summary>
        List<IBasicPolygon> Parts
        {
            get;
            set;
        }
    }
}
